<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head><title>Simple GSP page</title></head>
<meta name="layout" content="main" />
<body>

<h1>Please Login</h1>

<g:if test="${flash.message}">
    <h2>${flash.message}</h2>
</g:if>

<g:form action="login" method="post">

  <table>
     <tr><td>Email</td> <td><g:textField name="email"/></td></tr>
     <tr><td>Passwd </td><td><g:passwordField name="password"/></td></tr>
  </table>
    <g:submitButton name="Login"/>
</g:form>

<g:link action="create">Create new account</g:link>
</body>
</html>